import config from '@/config'
import RequestBase from '@/utils/request.js'

const request = new RequestBase(config.baseUrl)
// 查询访客管理列表
export function reqVisitorManageList(data) {
  return request.get('/locate-platform/visitor-manage/list', data)
}
// 查看访客详情
export function reqVisitorManageDetail(id) {
  return request.get(`/locate-platform/visitor-manage/${id}`)
}

// 新增访客
export function reqVisitorManageAdd(data) {
  return request.post('/locate-platform/visitor-manage', data)
}
